/*
* @Author: dengjiayao
* @Date:   2017-04-26 14:07:36
* @Last Modified by:   dengjiayao
* @Last Modified time: 2017-04-26 14:14:54
*/
export default (Vue) => {
  Vue.filter('AIDisplayType', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 0:
        return '普通'
        break
      case 1:
        return '欢迎显示'
        break
      case 2:
        return '搜索无结果显示'
        break
      default:
        return type
    }
  /*eslint-enable*/
  })
}
